<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
<%-- 权限判断 --%>
<shield:permssion type="button">
<form action="${ctxPathA}/system/filelistener/addOrUpdate" method="post" class="show-info">
	<shield:token/>
    <input id="id" name="id" type="hidden" maxlength="100" value="${model.id }">
    <table class="tab-show">
    	<colgroup>
    		<col width="190">
    		<col width="">
    	</colgroup>
        <tr>
	    	<th>
            	<label><font color="red">*</font>监控名称：</label>
        	</th>
         	<td><input type="text" name="name" value="${model.name}"></td>
		</tr>
        <tr>
	    	<th>
            	<label><font color="red">*</font>唯一识别码：</label>
        	</th>
         	<td><input type="text" name="keyCode" value="${model.keyCode}"></td>
		</tr>
        <tr>
	    	<th>
            	<label><font color="red">*</font>监控路径：</label>
        	</th>
         	<td><input type="text" name="path" value="${model.path }">
         		<span class="tips">项目路径：${projectPath }</span>
         	</td>
		</tr>
        <tr>
	    	<th>
            	<label>时间间隔（秒）：</label>
        	</th>
         	<td><input type="text" name="intervals" value="${model.intervals }"></td>
		</tr>
        <tr>
	    	<th>
            	<label>允许的后缀，空表示不限制：</label>
        	</th>
         	<td><input type="text" name="allowedExtensions" value="${model.allowedExtensions}"></td>
		</tr>
        <tr>
	    	<th>
            	<label>排除的文件(正则)：</label>
        	</th>
         	<td><input type="text" name="exclusionRex" value="${model.exclusionRex}"></td>
		</tr>
    </table>
    <div class="taCenter">
		<input class="button" type="submit" value="提交"/>
    	<input class="button default" type="reset" value="重置"/>
    </div>
</form>
</shield:permssion>